Reconstitute the ip parameter correctly. Closes bug #491.
authoremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Mon, 27 Feb 2006 16:26:16 +0000 (17:26 +0100)
committeremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Mon, 27 Feb 2006 16:26:16 +0000 (17:26 +0100)
Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xend/server/netif.py

index 1b073b3939d42425ebe92851d494b73b4900211d..ebb7212534aa0596d2787f3e5d8579308f68b1e1 100644 (file)
@@ -113,7 +113,8 @@ class NetifController(DevController):
                            script.replace(xroot.network_script_dir + os.sep,
                                           "")])
         if ip:
-            result.append(['ip', ip.split(" ")])
+            for i in ip.split(" "):
+                result.append(['ip', i])
         if bridge:
             result.append(['bridge', bridge])
         if mac: